package com.zy.openchat.core.model.wallet;

import android.os.Parcel;
import android.os.Parcelable;

public class ThirdRechargeChannels implements Parcelable {
    public long channelID;
    public String channelName;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(this.channelID);
        dest.writeString(this.channelName);
    }

    public ThirdRechargeChannels() {
    }

    protected ThirdRechargeChannels(Parcel in) {
        this.channelID = in.readLong();
        this.channelName = in.readString();
    }

    public static final Creator<ThirdRechargeChannels> CREATOR = new Creator<ThirdRechargeChannels>() {
        @Override
        public ThirdRechargeChannels createFromParcel(Parcel source) {
            return new ThirdRechargeChannels(source);
        }

        @Override
        public ThirdRechargeChannels[] newArray(int size) {
            return new ThirdRechargeChannels[size];
        }
    };
}
